<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class AlibabaOceanOpenplatformBizTradeResultBizSimpleOrder extends SDKDomain {

       	
    private $success;
    
        /**
    * @return 
    */
        public function getSuccess() {
        return $this->success;
    }
    
    /**
     * 设置     
     * @param Boolean $success     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSuccess( $success) {
        $this->success = $success;
    }
    
        	
    private $message;
    
        /**
    * @return 
    */
        public function getMessage() {
        return $this->message;
    }
    
    /**
     * 设置     
     * @param String $message     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setMessage( $message) {
        $this->message = $message;
    }
    
        	
    private $resultCode;
    
        /**
    * @return 
    */
        public function getResultCode() {
        return $this->resultCode;
    }
    
    /**
     * 设置     
     * @param String $resultCode     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setResultCode( $resultCode) {
        $this->resultCode = $resultCode;
    }
    
        	
    private $orderId;
    
        /**
    * @return 
    */
        public function getOrderId() {
        return $this->orderId;
    }
    
    /**
     * 设置     
     * @param String $orderId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOrderId( $orderId) {
        $this->orderId = $orderId;
    }
    
        	
    private $orderAmmount;
    
        /**
    * @return 
    */
        public function getOrderAmmount() {
        return $this->orderAmmount;
    }
    
    /**
     * 设置     
     * @param Long $orderAmmount     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOrderAmmount( $orderAmmount) {
        $this->orderAmmount = $orderAmmount;
    }
    
        	
    private $mergePay;
    
        /**
    * @return 
    */
        public function getMergePay() {
        return $this->mergePay;
    }
    
    /**
     * 设置     
     * @param Boolean $mergePay     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setMergePay( $mergePay) {
        $this->mergePay = $mergePay;
    }
    
        	
    private $payChannel;
    
        /**
    * @return 
    */
        public function getPayChannel() {
        return $this->payChannel;
    }
    
    /**
     * 设置     
     * @param String $payChannel     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setPayChannel( $payChannel) {
        $this->payChannel = $payChannel;
    }
    
        	
    private $postFee;
    
        /**
    * @return 
    */
        public function getPostFee() {
        return $this->postFee;
    }
    
    /**
     * 设置     
     * @param Long $postFee     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setPostFee( $postFee) {
        $this->postFee = $postFee;
    }
    
        	
    private $discount;
    
        /**
    * @return 
    */
        public function getDiscount() {
        return $this->discount;
    }
    
    /**
     * 设置     
     * @param Long $discount     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setDiscount( $discount) {
        $this->discount = $discount;
    }
    
        	
    private $promotionId;
    
        /**
    * @return 
    */
        public function getPromotionId() {
        return $this->promotionId;
    }
    
    /**
     * 设置     
     * @param String $promotionId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setPromotionId( $promotionId) {
        $this->promotionId = $promotionId;
    }
    
        	
    private $crossPromotionIds;
    
        /**
    * @return 
    */
        public function getCrossPromotionIds() {
        return $this->crossPromotionIds;
    }
    
    /**
     * 设置     
     * @param array include @see String[] $crossPromotionIds     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setCrossPromotionIds( $crossPromotionIds) {
        $this->crossPromotionIds = $crossPromotionIds;
    }
    
        	
    private $crossShopPromotions;
    
        /**
    * @return 
    */
        public function getCrossShopPromotions() {
        return $this->crossShopPromotions;
    }
    
    /**
     * 设置     
     * @param array include @see String[] $crossShopPromotions     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setCrossShopPromotions( $crossShopPromotions) {
        $this->crossShopPromotions = $crossShopPromotions;
    }
    
        	
    private $isChooseFreeFreight;
    
        /**
    * @return 
    */
        public function getIsChooseFreeFreight() {
        return $this->isChooseFreeFreight;
    }
    
    /**
     * 设置     
     * @param Boolean $isChooseFreeFreight     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setIsChooseFreeFreight( $isChooseFreeFreight) {
        $this->isChooseFreeFreight = $isChooseFreeFreight;
    }
    
        	
    private $sumPaymentNoCarriageFromClient;
    
        /**
    * @return 
    */
        public function getSumPaymentNoCarriageFromClient() {
        return $this->sumPaymentNoCarriageFromClient;
    }
    
    /**
     * 设置     
     * @param Long $sumPaymentNoCarriageFromClient     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSumPaymentNoCarriageFromClient( $sumPaymentNoCarriageFromClient) {
        $this->sumPaymentNoCarriageFromClient = $sumPaymentNoCarriageFromClient;
    }
    
        	
    private $subUserId;
    
        /**
    * @return 
    */
        public function getSubUserId() {
        return $this->subUserId;
    }
    
    /**
     * 设置     
     * @param Long $subUserId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSubUserId( $subUserId) {
        $this->subUserId = $subUserId;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "success", $this->stdResult )) {
    				$this->success = $this->stdResult->{"success"};
    			}
    			    		    				    			    			if (array_key_exists ( "message", $this->stdResult )) {
    				$this->message = $this->stdResult->{"message"};
    			}
    			    		    				    			    			if (array_key_exists ( "resultCode", $this->stdResult )) {
    				$this->resultCode = $this->stdResult->{"resultCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "orderId", $this->stdResult )) {
    				$this->orderId = $this->stdResult->{"orderId"};
    			}
    			    		    				    			    			if (array_key_exists ( "orderAmmount", $this->stdResult )) {
    				$this->orderAmmount = $this->stdResult->{"orderAmmount"};
    			}
    			    		    				    			    			if (array_key_exists ( "mergePay", $this->stdResult )) {
    				$this->mergePay = $this->stdResult->{"mergePay"};
    			}
    			    		    				    			    			if (array_key_exists ( "payChannel", $this->stdResult )) {
    				$this->payChannel = $this->stdResult->{"payChannel"};
    			}
    			    		    				    			    			if (array_key_exists ( "postFee", $this->stdResult )) {
    				$this->postFee = $this->stdResult->{"postFee"};
    			}
    			    		    				    			    			if (array_key_exists ( "discount", $this->stdResult )) {
    				$this->discount = $this->stdResult->{"discount"};
    			}
    			    		    				    			    			if (array_key_exists ( "promotionId", $this->stdResult )) {
    				$this->promotionId = $this->stdResult->{"promotionId"};
    			}
    			    		    				    			    			if (array_key_exists ( "crossPromotionIds", $this->stdResult )) {
    				$this->crossPromotionIds = $this->stdResult->{"crossPromotionIds"};
    			}
    			    		    				    			    			if (array_key_exists ( "crossShopPromotions", $this->stdResult )) {
    				$this->crossShopPromotions = $this->stdResult->{"crossShopPromotions"};
    			}
    			    		    				    			    			if (array_key_exists ( "isChooseFreeFreight", $this->stdResult )) {
    				$this->isChooseFreeFreight = $this->stdResult->{"isChooseFreeFreight"};
    			}
    			    		    				    			    			if (array_key_exists ( "sumPaymentNoCarriageFromClient", $this->stdResult )) {
    				$this->sumPaymentNoCarriageFromClient = $this->stdResult->{"sumPaymentNoCarriageFromClient"};
    			}
    			    		    				    			    			if (array_key_exists ( "subUserId", $this->stdResult )) {
    				$this->subUserId = $this->stdResult->{"subUserId"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "success", $this->arrayResult )) {
    			$this->success = $arrayResult['success'];
    			}
    		    	    			    		    			if (array_key_exists ( "message", $this->arrayResult )) {
    			$this->message = $arrayResult['message'];
    			}
    		    	    			    		    			if (array_key_exists ( "resultCode", $this->arrayResult )) {
    			$this->resultCode = $arrayResult['resultCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "orderId", $this->arrayResult )) {
    			$this->orderId = $arrayResult['orderId'];
    			}
    		    	    			    		    			if (array_key_exists ( "orderAmmount", $this->arrayResult )) {
    			$this->orderAmmount = $arrayResult['orderAmmount'];
    			}
    		    	    			    		    			if (array_key_exists ( "mergePay", $this->arrayResult )) {
    			$this->mergePay = $arrayResult['mergePay'];
    			}
    		    	    			    		    			if (array_key_exists ( "payChannel", $this->arrayResult )) {
    			$this->payChannel = $arrayResult['payChannel'];
    			}
    		    	    			    		    			if (array_key_exists ( "postFee", $this->arrayResult )) {
    			$this->postFee = $arrayResult['postFee'];
    			}
    		    	    			    		    			if (array_key_exists ( "discount", $this->arrayResult )) {
    			$this->discount = $arrayResult['discount'];
    			}
    		    	    			    		    			if (array_key_exists ( "promotionId", $this->arrayResult )) {
    			$this->promotionId = $arrayResult['promotionId'];
    			}
    		    	    			    		    			if (array_key_exists ( "crossPromotionIds", $this->arrayResult )) {
    			$this->crossPromotionIds = $arrayResult['crossPromotionIds'];
    			}
    		    	    			    		    			if (array_key_exists ( "crossShopPromotions", $this->arrayResult )) {
    			$this->crossShopPromotions = $arrayResult['crossShopPromotions'];
    			}
    		    	    			    		    			if (array_key_exists ( "isChooseFreeFreight", $this->arrayResult )) {
    			$this->isChooseFreeFreight = $arrayResult['isChooseFreeFreight'];
    			}
    		    	    			    		    			if (array_key_exists ( "sumPaymentNoCarriageFromClient", $this->arrayResult )) {
    			$this->sumPaymentNoCarriageFromClient = $arrayResult['sumPaymentNoCarriageFromClient'];
    			}
    		    	    			    		    			if (array_key_exists ( "subUserId", $this->arrayResult )) {
    			$this->subUserId = $arrayResult['subUserId'];
    			}
    		    	    		}
 
   
}
?>